package com.object.module.sys.service.impl;

import com.object.configuration.utils.Q;
import com.object.dao.sys.TTestDao;
import com.object.module.sys.service.TTestSerivce;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TTestSerivceimpl implements TTestSerivce {

    @Autowired
    private TTestDao tTestDao;

    @Override
    public Q saveId(Integer id) {
        boolean flag = tTestDao.saveId(id);
        return flag?Q.ok():Q.error();
    }
}
